import re

s12='1235236a65a'
print(re.match('\d+a', s12))